package com.medical.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class HealthDataVO {

    private Integer id;
    private Integer healthType;
    private Integer userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime date;

    private Double weight;
    private Double height;
    private String bloodPressure;
    private Integer heartRate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdTime;

    private Integer footStep;
    private Double sleepTime;
    private String foodRecord;

    // 用户名
    private String userName;

}
